//
//  YHDeviceID.h
//  YHKit
//
//  Created by 98du on 2021/11/19.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YHDeviceID : NSObject

/// 广告标识
/// info.plist中设置
/// <key>NSUserTrackingUsageDescription</key>
/// <string>此标识符将用于向您推荐个性化广告。</string>
/// iOS14.5 会弹出权限获取弹窗，处理之后卸载再次安装不会再弹出
+ (void)IDFA:(void(^)(NSString * idfa))block;
/// 厂商标识
/// 该厂商的都卸载了再次安装会变
+ (NSString *)IDFV;
/// 存在keychina中的标识
+ (NSString *)UUID;

/// 设备标识 IDFA>IDFV>UUID
+ (NSString *)deviceID;

@end

NS_ASSUME_NONNULL_END
